import  Router  from 'koa-router'

const login = new Router()

login.post('/login', async (ctx) => {
  const data = ctx.request.body
  console.log('%c⧭', 'color: #ff0000', data);
  ctx.body = {
    'code': 0,
    'data': {a:1},
    'mesg': '测试'
}
})

export default login